package com.numberone.iotplatform.dto.a_i_box;

import com.fasterxml.jackson.annotation.JsonProperty;
import lombok.Data;
import java.util.List;

@Data
public class CaptureQueryResultDTO {
    /**
     * 对应文档章节 12 的响应 data 结构
     */
    @JsonProperty("toltalCaptures") // 注意 API 文档中的拼写错误
    private Integer totalCaptures;

    private List<CaptureEvent> captures;

    @Data
    public static class CaptureEvent {
        private Integer id;
        private Integer channelId;
        private String channelName;
        private Integer trackId;
        private String objType;
        private String alarmType;
        private Long captureTime; // Unix timestamp
        private String imageURI;
    }
}